class Employee:
    name=''
    sex=''
    age=0
    __weight=0
    count=0

    def __init__(self,n,s,a,w,c):
        self.name = n
        self.sex = s
        self.age = a
        self.__weight = w
        self.count = c


    def sayHello(self):
        print("sayHello方法实现了！")
        self.count+=1


Emp=Employee('tom','男','20','120',0)
Emp.sayHello()
print("实例了{}次".format(Emp.count))
